home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17805 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: Please don't shoot me (newbie question)
  5. Date: 17 Apr 1996 06:52:55 -0700
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4l2t3nINN7v8@keats.ugrad.cs.ubc.ca>
  8. References: <4l0puc$oa9@interport.net> <3174E964.3D2B@dbs.demos.su>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <3174E964.3D2B@dbs.demos.su>,
  12. Alexey Ruzin  <00alex@dbs.demos.su> wrote:
  13.  >Tom Metzger wrote:
  14.  >> 
  15.  >> I just started lurking here, so please don't shoot me if this has been asked
  16.  >> a hundred times before, but....
  17.  >> 
  18.  >> Can someone explain to me, in clear terms, what the difference is between
  19.  >> C and C++  ?  Everytime I've asked someone, the answer is so cryptic, it's
  20.  >> not funny.
  21.  >> 
  22.  >> Thanks in advance,
  23.  >> Tom
  24.  >
  25.  >Hi, Tom
  26.  >
  27.  >I don't think that i can clearly explain difference between C & C++, but
  28.  >I hope I can show some advantages of C++.
  29.  >
  30.  >1. C++ inherit C (practically all is written on C will be compiled
  31.  >   with C++ compiler)
  32.  
  33. That is not really true. Aside from keyword conflicts, there are certain
  34. concepts that look the same, but are really different in C++. Certain semantics
  35. with respect to void pointers and such, for instance.
  36.  
  37.  >P.S.
  38.  >What is hard to do with C -> do with C++ :)
  39.  
  40. Really? You mean C++ can help me improve the complexity of solving the
  41. Travelling Salesman Problem? Or factoring large integers? ;)
  42. -- 
  43. I'm not really a jerk, but I play one on Usenet.
  44.